﻿<!-- Copyright Richard Fencel Software (c) 2014-->

<UserControl x:Class="CodeRayTestSimpleListBoxWpfApp.Views.EmployeeView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300">
    <Border Margin="5" BorderThickness="2" BorderBrush="Black" Background="BurlyWood">
    <StackPanel Margin="3">
            <TextBlock Text="{Binding Path=Name, NotifyOnTargetUpdated=True, NotifyOnSourceUpdated=True}"/>
            <TextBox Text="{Binding Path=JobTitle,  NotifyOnTargetUpdated=True, NotifyOnSourceUpdated=True}" Background="BurlyWood" BorderThickness="0"/>
            <TextBlock Text="{Binding Path=Id, NotifyOnTargetUpdated=True, NotifyOnSourceUpdated=True}"/>
    </StackPanel>
    </Border>
</UserControl>
